export default {
  pfCount(state) {
    return state.countss * state.countss
  },
  more20age(state) {
    return state.people.filter(item => item.age >20 )
  },
  more20ageLength(state,getter) {
    return getter.more20age.length
  },
  moreAge(state) {
    return function (age) {
      return state.people.filter( item => item.age >age)
    }
  },
}